package com.chixing.service;

import com.chixing.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-05-21
 */
public interface ICouponService {

    //查询所有优惠卷
    public  Result getAll();

    //根据优惠卷的id查询优惠卷
    public Result getCouponById(Integer couponId);



    // 获取所有优惠券分类
    public Result getCouponTypes();



    //根据类型名查询
    public Result getCouponsByType(String type);



}
